/**
 * 二级页
 */
// ***************	二级页面之 信息发布 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://sthjt.jl.gov.cn/xxfb/'){

	// 1. 人事公开/法律法规 选项卡  ------------ begin
	
	// 进入此tab项之前的一项	建议提案办理按钮
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_Title_preALink = $('.xxgk_zfgk_jytabl dd a:last');
	
	// 各个tab选项卡 title名称 -此处为更多按钮，方便操作
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_Title = $(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_bt1 a:eq(0)");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_Title = $(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_bt1 a:eq(1)");

	// 各个选项卡列表中 第一个内容
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_ContentFirst = $(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_xw:eq(0) a:first");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_ContentFirst = $(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_xw:eq(1) a:first");

	// 各个选项卡列表中 最后一个内容
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_ContentLast = $(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_xw:eq(0) a:last");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_ContentLast = $(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_xw:eq(0) a:last");

	// 1. 第1个tab 人事公开 进入此tab项之前的一项	建议提案办理按钮
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_Title_preALink.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_xxfb_1_pre", function (e) {
			if (e.keyCode == 9) {
			//	$(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_bt1 b:eq(0)").mouseover();
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_Title.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_Title_preALink.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_1_pre");
	});
	
	// 1. 第1个tab 人事公开 title
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_Title.focus(function (e) {
		// 人事公开 字样鼠标悬浮事件
		$(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_bt1 b:eq(0)").mouseover();
		$(this).bind("keydown.keydown_xxfb_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_Title_preALink.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_Title.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_1");
	});
	// 人事公开 列表第一项
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_ContentFirst.focus(function () {
		$(this).bind("keydown.keydown_xxfb_1_1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_ContentFirst.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_1_1");
	});
	// 人事公开 列表最后一项
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_ContentLast.focus(function () {
		$(this).bind("keydown.keydown_xxfb_1_n", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				$(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_bt1 b:eq(1)").mouseover();
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_ContentLast.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_1_n");
	});
	
	// 1. 第2个tab 法律法规 title
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_Title.focus(function (e) {
		$(this).bind("keydown.keydown_xxfb_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(".nr_box .xxgk_line1:eq(1) .xxgk_left .xxgk_bt1 b:eq(0)").mouseover();
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_1_ContentLast.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_Title.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_2");
	});
	// 法律法规 列表第一项
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_ContentFirst.focus(function () {
		$(this).bind("keydown.keydown_xxfb_2_1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_2_ContentFirst.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_2_1");
	});

	

	//财务公开，二级选项卡
	// 各个tab选项卡 title名称 -此处为更多按钮，方便操作
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_Title = $(".xxgk_xxk1 .xxgk_bt1 a:eq(0)");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_Title = $(".xxgk_xxk1 .xxgk_bt1 a:eq(1)");

	// 各个选项卡列表中 第一个内容
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_ContentFirst = $(".xxgk_xxk1 .xxgk_xw:eq(0) a:first");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_ContentFirst = $(".xxgk_xxk1 .xxgk_xw:eq(1) a:first");

	// 各个选项卡列表中 最后一个内容
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_ContentLast = $(".xxgk_xxk1 .xxgk_xw:eq(0) a:last");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_ContentLast = $(".xxgk_xxk1 .xxgk_xw:eq(1) a:last");
	
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_Title.focus(function (e) {
		$(".xxgk_xxk1 .xxgk_bt1 b:eq(0)").mouseover();
		$(this).bind("keydown.keydown_xxfbcw_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_ContentFirst.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_Title.blur(function () {
		$(this).unbind("keydown.keydown_xxfbcw_1");
	});
	
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_ContentFirst.focus(function () {
		$(this).bind("keydown.keydown_xxfbcw_1_1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_ContentFirst.blur(function () {
		$(this).unbind("keydown.keydown_xxfbcw_1_1");
	});
	
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_ContentLast.focus(function () {
		$(this).bind("keydown.keydown_xxfbcw_1_n", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				$(".xxgk_xxk1 .xxgk_bt1 b:eq(1)").mouseover();
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_ContentLast.blur(function () {
		$(this).unbind("keydown.keydown_xxfbcw_1_n");
	});
	
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_Title.focus(function (e) {
		$(this).bind("keydown.keydown_xxfbcw_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(".xxgk_xxk1 .xxgk_bt1 b:eq(0)").mouseover();
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_6_ContentLast.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_ContentFirst.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_Title.blur(function () {
		$(this).unbind("keydown.keydown_xxfbcw_2");
	});
	
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_ContentFirst.focus(function () {
		$(this).bind("keydown.keydown_xxfbcw_2_1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_7_ContentFirst.blur(function () {
		$(this).unbind("keydown.keydown_xxfbcw_2_1");
	});
	
	
		// 2. 受理公示/拟审批公示/验收公示 选项卡  ------------ begin
	// 各个tab选项卡 title名称
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_Title = $(".gszx-second-title a:eq(0)");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_Title = $(".gszx-second-title a:eq(1)");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_Title = $(".gszx-second-title a:eq(2)");

	// 各个选项卡列表中 第一个内容
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_ContentFirst = $(".gszx-main:eq(0) a:first");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_ContentFirst = $(".gszx-main:eq(1) a:first");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_ContentFirst = $(".gszx-main:eq(2) a:first");
	
	// 各个选项卡列表中 最后一个内容
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_ContentLast = $(".gszx-main:eq(0) a:last");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_ContentLast = $(".gszx-main:eq(1) a:last");
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_ContentLast = $(".gszx-main:eq(2) a:last");
	
	// 2. 第1个tab 受理公示 title
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_Title.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_xxfb_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_ContentFirst.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_Title.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_3");
	});
	// 受理公示 列表第一项
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_ContentFirst.focus(function () {
		$(this).bind("keydown.keydown_xxfb_3_1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_ContentFirst.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_3_1");
	});
	// 受理公示 列表最后一项
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_ContentLast.focus(function () {
		$(this).bind("keydown.keydown_xxfb_3_n", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_ContentLast.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_3_n");
	});

	// 2. 第2个tab 拟审批公示 title
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_Title.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_xxfb_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_Title.mouseover();
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_3_ContentLast.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_ContentFirst.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_Title.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_4");
	});
	// 拟审批公示 列表第一项
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_ContentFirst.focus(function () {
		$(this).bind("keydown.keydown_xxfb_4_1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_ContentFirst.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_4_1");
	});
	// 拟审批公示 列表最后一项
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_ContentLast.focus(function () {
		$(this).bind("keydown.keydown_xxfb_4_n", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				 _EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_ContentLast.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_4_n");
	});	
	
	// 2. 第3个tab 验收公示 title
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_Title.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_xxfb_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_Title.mouseover();
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_4_ContentLast.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_Title.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_5");
	});
	// 验收公示 列表第一项
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_ContentFirst.focus(function () {
		$(this).bind("keydown.keydown_xxfb_5_1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_ContentFirst.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_5_1");
	});
	// 验收公示 列表最后一项
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_ContentLast.focus(function () {
		$(this).bind("keydown.keydown_xxfb_5_n", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				// _EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_Title.focus();
				// return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabSthjt_xxfb_5_ContentLast.blur(function () {
		$(this).unbind("keydown.keydown_xxfb_5_n");
	});	
	// 2. 受理公示/拟审批公示/验收公示  ------------ end
}
// ***************	二级页面之 信息发布 end	***************	//